Important: jenkins and jenkins-2-plugins security update

Synopsis

Important: jenkins and jenkins-2-plugins security update

Type/Severity

Security Advisory: Important

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An update for jenkins and jenkins-2-plugins is now available for OpenShift Developer Tools and Services for OCP 4.14.

Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

Jenkins is a continuous integration server that monitors executions of repeated jobs, such as building a software project or jobs run by cron.

Security Fix(es):

  • golang: net/http, x/net/http2: rapid stream resets can cause excessive work (CVE-2023-44487) (CVE-2023-39325)
  • HTTP/2: Multiple HTTP/2 enabled web servers are vulnerable to a DDoS attack (Rapid Reset Attack) (CVE-2023-44487)
  • apache-commons-text: variable interpolation RCE (CVE-2022-42889)
  • snakeyaml: Denial of Service due to missing nested depth limitation for collections (CVE-2022-25857)
  • maven-shared-utils: Command injection via Commandline class (CVE-2022-29599)
  • jenkins-2-plugins/script-security: Sandbox bypass vulnerability in Script Security Plugin (CVE-2023-24422)
  • Jenkins: Session fixation vulnerability in OpenShift Login Plugin (CVE-2023-37946)
  • jenkins-plugins: cloudbees-folder: CSRF vulnerability in Folders Plugin may approve unsandboxed scripts (CVE-2023-40336)
  • guava: insecure temporary directory creation (CVE-2023-2976)
  • jenkins-2-plugins/JUnit: Stored XSS vulnerability in JUnit Plugin (CVE-2023-25761)
  • jenkins-2-plugins/pipeline-build-step: Stored XSS vulnerability in Pipeline: Build Step Plugin (CVE-2023-25762)
  • jackson-databind: denial of service via cylic dependencies (CVE-2023-35116)
  • Jenkins: Open redirect vulnerability in OpenShift Login Plugin (CVE-2023-37947)
  • jenkins-plugins: cloudbees-folder: CSRF vulnerability in Folders Plugin (CVE-2023-40337)
  • jenkins-plugins: cloudbees-folder: Information disclosure in Folders Plugin (CVE-2023-40338)
  • jenkins-plugins: config-file-provider: Improper masking of credentials in Config File Provider Plugin (CVE-2023-40339)
  • jenkins-plugins: blueocean: CSRF vulnerability in Blue Ocean Plugin allows capturing credentials (CVE-2023-40341)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • OpenShift Developer Tools and Services 4.14 x86_64
  • OpenShift Developer Tools and Services 4.14 s390x
  • OpenShift Developer Tools and Services 4.14 ppc64le
  • OpenShift Developer Tools and Services 4.14 aarch64

Fixes

  • BZ - 2066479 - CVE-2022-29599 maven-shared-utils: Command injection via Commandline class
  • BZ - 2126789 - CVE-2022-25857 snakeyaml: Denial of Service due to missing nested depth limitation for collections
  • BZ - 2135435 - CVE-2022-42889 apache-commons-text: variable interpolation RCE
  • BZ - 2164278 - CVE-2023-24422 jenkins-2-plugins/script-security: Sandbox bypass vulnerability in Script Security Plugin
  • BZ - 2170039 - CVE-2023-25761 jenkins-2-plugins/JUnit: Stored XSS vulnerability in JUnit Plugin
  • BZ - 2170041 - CVE-2023-25762 jenkins-2-plugins/pipeline-build-step: Stored XSS vulnerability in Pipeline: Build Step Plugin
  • BZ - 2215214 - CVE-2023-35116 jackson-databind: denial of service via cylic dependencies
  • BZ - 2215229 - CVE-2023-2976 guava: insecure temporary directory creation
  • BZ - 2222709 - CVE-2023-37946 Jenkins: Session fixation vulnerability in OpenShift Login Plugin
  • BZ - 2222710 - CVE-2023-37947 Jenkins: Open redirect vulnerability in OpenShift Login Plugin
  • BZ - 2232422 - CVE-2023-40341 jenkins-plugins: blueocean: CSRF vulnerability in Blue Ocean Plugin allows capturing credentials
  • BZ - 2232423 - CVE-2023-40339 jenkins-plugins: config-file-provider: Improper masking of credentials in Config File Provider Plugin
  • BZ - 2232424 - CVE-2023-40336 jenkins-plugins: cloudbees-folder: CSRF vulnerability in Folders Plugin may approve unsandboxed scripts
  • BZ - 2232425 - CVE-2023-40337 jenkins-plugins: cloudbees-folder: CSRF vulnerability in Folders Plugin
  • BZ - 2232426 - CVE-2023-40338 jenkins-plugins: cloudbees-folder: Information disclosure in Folders Plugin
  • BZ - 2242803 - CVE-2023-44487 HTTP/2: Multiple HTTP/2 enabled web servers are vulnerable to a DDoS attack (Rapid Reset Attack)
  • BZ - 2243296 - CVE-2023-39325 golang: net/http, x/net/http2: rapid stream resets can cause excessive work (CVE-2023-44487)
  • JKNS-271 - Automate Polarion integration for smoke test
  • JKNS-289 - Draft Knowledgebase article for Jenkins out of payload
  • JKNS-337 - Update Jenkins README.md
  • JKNS-344 - Design and Document second phase of self-verification process for Jenkins bugs/CVEs
  • JKNS-345 - Remove legacy pieces of the Jenkins repositories, test, and verify
  • OCPBUGS-11158 - Mailer Plugin (mailer) has breaking changes in newest version
  • OCPBUGS-11253 - Fix several dependabot alerts related to golang package versions
  • OCPBUGS-11254 - Fix several bash related syntax issues
  • OCPBUGS-11446 - Update config-file-provider to fix plugin dependency issue
  • OCPBUGS-1357 - Jenkins install-plugins script does not ignore updates to locked plugin versions
  • OCPBUGS-13869 - Bump Jenkins Plugins to latest version
  • OCPBUGS-14111 - Update ImageStreams to use new Jenkins and Jenkins Agent Base images
  • OCPBUGS-14609 - Bump Jenkins plugins to latest versions
  • OCPBUGS-15646 - Update ImageStreams to use new Jenkins and Jenkins Agent Base images
  • OCPBUGS-15902 - Failure in periodic-ci-openshift-jenkins-release-4.14-jenkins-ocp4.14-lp-interop-jenkins-interop-aws, 07-06-2023
  • OCPBUGS-1709 - Align javax-mail-api with Jenkins Server 2.361.1
  • OCPBUGS-1942 - Bump Jenkins version to 2.361.1
  • OCPBUGS-2099 - Fix sshd embedded version
  • OCPBUGS-2184 - Update jenkins-client, jenkins-sync and openshift-login plugin to latest versions
  • OCPBUGS-2318 - Release and update client, sync and login plugins
  • OCPBUGS-23438 - Failure in periodic-ci-openshift-jenkins-release-4.14-jenkins-hypershift4.14-aws-jenkins-lp-rosa-hypershift, 11-20-2023
  • OCPBUGS-27388 - release-4.14 - Bump Jenkins Plugin Versions and Go Dependencies
  • OCPBUGS-655 - Update blueocean-autofavorite to 1.2.5
  • OCPBUGS-6579 - update sample imagestreams with latest 4.11 image
  • OCPBUGS-6870 - Bump Jenkins to 2.361.4
  • OCPBUGS-710 - Add user coreydaley to list of approvers for openshift/jenkins
  • OCPBUGS-8377 - Update Go to v1.19
  • OCPBUGS-8442 - Jenkins images based on rhel8 are wrongly tagged with rhel7
  • OCPTOOLS-244 - Bump Jenkins version to 2.414.3 [openshift-4.14]